package de.szut.traineeslife.data;

import android.content.ContentValues;

public class Report {

	private int id;
	private String startDate;
	private String endDate;
	private String reportText;
	private String reportTextSchool;
	private String hoursOfWork;
	private String pathOfModel;
	private String titel;

	public Report() {
	}

	public Report(int id, String titel, String startDate, String endDate, String reportText, String reportTextSchool, String hoursOfWork, String pathOfModel) {
		this.id = id;
		this.titel = titel;
		this.startDate = startDate;
		this.endDate = endDate;
		this.reportText = reportText;
		this.reportTextSchool = reportTextSchool;
		this.hoursOfWork = hoursOfWork;
		this.pathOfModel = pathOfModel;
	}

	public Report(String titel, String startDate, String endDate, String reportText, String reportTextSchool, String hoursOfWork, String pathOfModel) {
		this.titel = titel;
		this.startDate = startDate;
		this.endDate = endDate;
		this.reportText = reportText;
		this.reportTextSchool = reportTextSchool;
		this.hoursOfWork = hoursOfWork;
		this.pathOfModel = pathOfModel;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getTitel() {
		return titel;
	}

	public void setTitel(String titel) {
		this.titel = titel;
	}

	public String getStartDate() {
		return startDate;
	}

	public void setStartDate(String startDate) {
		this.startDate = startDate;
	}

	public String getEndDate() {
		return endDate;
	}

	public void setEndDate(String endDate) {
		this.endDate = endDate;
	}

	public String getReportText() {
		return reportText;
	}

	public void setReportText(String reportText) {
		this.reportText = reportText;
	}

	public String getReportTextSchool() {
		return reportTextSchool;
	}

	public void setReportTextSchool(String reportTextSchool) {
		this.reportTextSchool = reportTextSchool;
	}

	public String getHoursOfWork() {
		return hoursOfWork;
	}

	public void setHoursOfWork(String hoursOfWork) {
		this.hoursOfWork = hoursOfWork;
	}

	public String getPathOfModel() {
		return pathOfModel;
	}

	public void setPathOfModel(String pathOfModel) {
		this.pathOfModel = pathOfModel;
	}

	public ContentValues toContentValues() {
		final ContentValues values = new ContentValues();
		values.put(de.szut.traineeslife.db.ReportContract.Report.KEY_ID, id);
		values.put(de.szut.traineeslife.db.ReportContract.Report.KEY_TITEL, titel);
		values.put(de.szut.traineeslife.db.ReportContract.Report.KEY_STARTDATE, startDate);
		values.put(de.szut.traineeslife.db.ReportContract.Report.KEY_ENDDATE, endDate);
		values.put(de.szut.traineeslife.db.ReportContract.Report.KEY_TEXT, reportText);
		values.put(de.szut.traineeslife.db.ReportContract.Report.KEY_TEXT_SQL, reportTextSchool);
		values.put(de.szut.traineeslife.db.ReportContract.Report.KEY_HOURS, hoursOfWork);
		values.put(de.szut.traineeslife.db.ReportContract.Report.KEY_MODEL_PATH, pathOfModel);
		return values;
	}

}
